package neu.soft.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 李博
 * 购货单类型枚举
 */
@AllArgsConstructor
public enum PurchaseOrderType implements FinancialEnumGetter {
    OUT_OF_STOCK_PURCHASE("0","缺货购货单"),//缺货购货单
    NEW_VENDOR_PURCHASE("1","新商品购货单"),//从新供应商处购货
    ALTER_PURCHASE("2","预警购货单");//预警值购货

    @Getter
    private final String code;

    private final String info;

    @Override
    public String getEnumValue() {
        return this.info;
    }

}